#ifndef STL_LEARN_TEST_PRINT_HPP__
#define STL_LEARN_TEST_PRINT_HPP__

#include <iostream>
using std::cout;
using std::endl;

// 一个灵活的输出函数
// static fix multiple definitions
inline static void print() {
    cout << endl;
}

template <typename T, typename... Ts>
inline static void print(const T& firstArg, const Ts&... args) {
    cout << firstArg;
    print(args...);
}

#endif
